package com.irdstudio.efp.console.common;

public class ConsoleConstant {

    // 审核状态
    public final static String APRV_STATUS_01 = "01";// 待发起
    public final static String APRV_STATUS_02 = "02";// 审批中
    public final static String APRV_STATUS_03 = "03";// 通过
    public final static String APRV_STATUS_04 = "04";// 否决
    public final static String APRV_STATUS_05 = "05";// 退回

    // 产品状态
    public final static String PRD_STATUS_01 = "01";// 待生效
    public final static String PRD_STATUS_02 = "02";// 已生效
    public final static String PRD_STATUS_03 = "03";// 已停用
    public final static String PRD_STATUS_04 = "04";// 已失效
	public final static String PRD_STATUS_3 = "4";// 已失效


    // 专案状态
    public final static String CASE_STATUS_01 = "01";// 待生效
    public final static String CASE_STATUS_02 = "02";// 已生效
    public final static String CASE_STATUS_03 = "03";// 已停用
    public final static String CASE_STATUS_04 = "04";// 已失效

    // 请求类型
    public final static String REQ_TYPE_01 = "01";// 产品上线
    public final static String REQ_TYPE_02 = "02";// 产品变更
    public final static String REQ_TYPE_03 = "03";// 产品下线
    public final static String REQ_TYPE_04 = "04";// 产品停用
    
	// 额度状态
    public final static String LIMIT_STS_00 = "00";// 已冻结
    public final static String LIMIT_STS_01 = "01";// 待生效
    public final static String LIMIT_STS_02 = "02";// 有效
    public final static String LIMIT_STS_03 = "03";// 已失效
	public final static String LIMIT_STS_04 = "04";// 签订中
    

    /**利率执行方式：立即生效*/
    public final static String IREXE_TYPE_0 = "0";
    /**利率执行方式：下期生效*/
    public final static String IREXE_TYPE_1 = "1";
    /**利率执行方式：对年对月对日生效*/
    public final static String IREXE_TYPE_2 = "2";
    /**利率执行方式：次年1月1日生效*/
    public final static String IREXE_TYPE_3 = "3";
    /**利率执行方式：次月1日生效*/
    public final static String IREXE_TYPE_4 = "4";
    /**利率执行方式：下季1日生效*/
    public final static String IREXE_TYPE_5 = "5";
    /**利率执行方式：固定不变*/
    public final static String IREXE_TYPE_6 = "6";
    
    /**浮动方式：基准上浮*/
    public final static String IR_FLOAT_TYPE_1 = "1";
    /**浮动方式：基准下浮*/
    public final static String IR_FLOAT_TYPE_2 = "2";
    
    /**利率浮动：固定利率*/
    public final static String EFR_CHNG_IND_1 = "1";
    /**利率浮动：浮动利率*/
    public final static String EFR_CHNG_IND_2 = "2";
    
    /**还款周期：每月*/
    public final static String REPAY_FREQ_01 = "01";
    /**还款周期：每年*/
    public final static String REPAY_FREQ_02 = "02";
    /**还款周期：双周*/
    public final static String REPAY_FREQ_03 = "03";
    /**还款周期：每半月*/
    public final static String REPAY_FREQ_04 = "04";
    /**还款周期：每季度*/
    public final static String REPAY_FREQ_05 = "05";
    /**还款周期：每半年*/
    public final static String REPAY_FREQ_06 = "06";
    /**还款周期：到期时*/
    public final static String REPAY_FREQ_07 = "07";
    
    /**还款方式：只还利息，到期还本*/
    public final static String REPAY_MODE_101 = "101";
    /**还款方式：等额本息*/
    public final static String REPAY_MODE_102 = "102";
    /**还款方式：等额本金*/
    public final static String REPAY_MODE_201 = "201";
    /**还款方式：协议还款*/
    public final static String REPAY_MODE_202 = "202";
    /**状态：未生效*/
    public final static String COMMON_STATUS_0 = "0";
    /**状态：生效*/
    public final static String COMMON_STATUS_1 = "1";
    /**状态：失效*/
    public final static String COMMON_STATUS_2 = "2";
    
    /**CA策略类型：合同签章策略 贷款*/
    public final static String CA_STRATEGY_TYPE_001 = "001";
    /**CA策略类型：合同签章策略 其他*/
    public final static String CA_STRATEGY_TYPE_010 = "010";
    
    /**模板种类： 合同类*/
    public final static String CONT_TEMP_TYPE_01="01";
    /**模板种类： 其他类*/
    public final static String CONT_TEMP_TYPE_02="02";
    
    /**合同类型： 授信合同*/
    public final static String CONT_TYPE_01="01";
    /**合同类型： 借款合同*/
    public final static String CONT_TYPE_02="02";
    /**合同类型： 担保合同*/
    public final static String CONT_TYPE_03="03";

    /** 操作标识(用于标识可编辑列表)  add: 增加*/
	public static String CONSOLE_OPT_FLAG_ADD = "add";
	/** 操作标识(用于标识可编辑列表)  update: 修改 */
	public static String CONSOLE_OPT_FLAG_UPDATE = "update";
	/** 操作标识(用于标识可编辑列表)  delete: 删除*/
	public  static  String CONSOLE_OPT_FLAG_DELETE = "delete";
	
	/**省联社的法人机构代码**/
	public static final  String  FIRST_LEGALORGCODE = "00001";
	
	/**审批状态：审批中**/
	public static final  String   APPROVE_STATUS_111= "111";
	/**审批状态：通过**/
	public static final  String   APPROVE_STATUS_997= "997";
	/**审批状态：否决（不同意）**/
	public static final  String   APPROVE_STATUS_998= "998";
	/** 数据权限: 产品申请 */
	public static final String URL_DATA_PERMISS_PRD_APPLY = "/api/prd/info/applys";
	/** 数据权限: 产品 */
	public static final String URL_DATA_PERMISS_PRD_INFO = "/api/prd/infos";
	/** 数据权限: 规则集 */
	public static final String URL_DATA_PERMISS_RULE_COLL = "/api/s/rule/colls";
	
	/** 用户状态  0 注销  */
	public static final String USER_STATUS_0 = "0";
	/** 用户状态  1 正常  */
	public static final String USER_STATUS_1 = "1";
	/** 用户状态  2 待停用  */
	public static final String USER_STATUS_2 = "2";

	/**
	 * 签发机关
	 */
	public static final String CHINA = "中国";

	/**
	 * 结算账户类型
	 */
	// PAY-付款账户
	// REC-收款账户
	// AUT-自动扣款账户
	// TPP-第三方账户
	// WTR-委托存款账户
	// WTS-委托结算账户
	// INT-利息入账账户
	// PRI-本金入账账户
	// SSI-贴息账户
	public static final String ACCOUNT_TYPE_PAY = "PAY";
	public static final String ACCOUNT_TYPE_REC = "REC";
	public static final String ACCOUNT_TYPE_AUT = "AUT";
	public static final String ACCOUNT_TYPE_TPP = "TPP";
	public static final String ACCOUNT_TYPE_WTR = "WTR";
	public static final String ACCOUNT_TYPE_INT = "INT";
	public static final String ACCOUNT_TYPE_PRI = "PRI";
	public static final String ACCOUNT_TYPE_SSI = "SSI";


	/**
	 * 结算方式
	 */
	// R结算户
	// I内部户
	// N往账
	// V来账
	// W无
	public static final String PAYMENT_TYPE_R = "R";
	public static final String PAYMENT_TYPE_I = "I";
	public static final String PAYMENT_TYPE_N = "N";
	public static final String PAYMENT_TYPE_V = "V";
	public static final String PAYMENT_TYPE_W = "W";

	/**
	 * 账户分类
	 */
	//I  类
	//II 类
	//III 类
	public static final String ACCOUNT_TYPE_I = "01";
	public static final String ACCOUNT_TYPE_II = "02";
	public static final String ACCOUNT_TYPE_III = "03";

	/**
	 * 金额类型
	 */
	//PF-净发放金额
	//PRI-本金
	//INT-利息
	//ODI-复利
	//ODP-罚息
	//FEE-费用
	public static final String AMT_TYPE_PF = "PF";
	public static final String AMT_TYPE_PRI = "PRI";
	public static final String AMT_TYPE_INT = "INT";
	public static final String AMT_TYPE_ODI = "ODI";
	public static final String AMT_TYPE_ODP = "ODP";
	public static final String AMT_TYPE_FEE = "FEE";

	/**
	 * 放款状态
	 */
	// 通过
	// 拒绝
	public static final String LOANSTATUS_TYPE_PASS = "01";
	public static final String LOANSTATUS_TYPE_REFUSE = "02";

	// 税e贷
	// 处理中
	public static final String NLSCREDIT_DEALING = "01";
	// 通过
	public static final String NLSCREDIT_PASS = "02";
	// 拒绝
	public static final String NLSCREDIT_REJECT = "03";
	// 取消
	public static final String NLSCREDIT_CANCEL = "04";
	// 挂起
	public static final String NLSCREDIT_HANG = "05";
	// 暂停
	public static final String NLSCREDIT_PAUSE = "06";

	/**
	 * 01：正常还款
	 * 02：提前部分还款
	 * 03：提前结清
	 * 04：逾期还款
	 * 05：理赔还款
	 * 06：按期次还款
	 * 07：欠款回收
	 * 08：结清
	 */
	public static final String REPAY_TYPE_01 = "01";
	public static final String REPAY_TYPE_02 = "02";
	public static final String REPAY_TYPE_03 = "03";
	public static final String REPAY_TYPE_04 = "04";
	public static final String REPAY_TYPE_05 = "05";
	public static final String REPAY_TYPE_06 = "06";
	public static final String REPAY_TYPE_07 = "07";
	public static final String REPAY_TYPE_08 = "08";
	public static final String REPAY_TYPE_09 = "09";
	public static final String REPAY_TYPE_10 = "10";
	public static final String REPAY_TYPE_11 = "11";


	/**
	 * 台账状态
	 *  0	出帐未确认
	 *  1	正常
	 *	2	冲正
	 *	3	失败
	 *	4	结清
	 *	5	销户
	 *	6	垫款
	 *	7	已扣款
	 *	8	置换
	 *	9	核销
	 *	10	逾期
	 *	11	理赔结清
	 *  14     非应计
	 */
	public static final String ACC_STATUS_0	 = "0";
	public static final String ACC_STATUS_1	 = "1";
	public static final String ACC_STATUS_2	 = "2";
	public static final String ACC_STATUS_3	 = "3";
	public static final String ACC_STATUS_4	 = "4";
	public static final String ACC_STATUS_5	 = "5";
	public static final String ACC_STATUS_6	 = "6";
	public static final String ACC_STATUS_7	 = "7";
	public static final String ACC_STATUS_8	 = "8";
	public static final String ACC_STATUS_9	 = "9";
	public static final String ACC_STATUS_10 = "10";
	public static final String ACC_STATUS_11 = "11";
	public static final String ACC_STATUS_12 = "12";
	public static final String ACC_STATUS_13 = "13";
	public static final String ACC_STATUS_14 = "14";

	/***
	 * 互金 贷款开立产品类型
	 * 10003001 短期 小于等于1年
	 * 10003002 中长期 大于1年
	 */
	public static final String IFC_PRODUCT_TYPE_SHORT = "10003001";
	public static final String IFC_PRODUCT_TYPE_LONG = "10003002";

	/** 公告类型 系统消息 0 */
	public static final String MES_TYPE_0 = "0";
	/** 公告类型 业务通知 1 */
	public static final String MES_TYPE_1 = "1";

	/**
	 * 账户状态描述
	 * A活动
	 * C关闭
	 * P逾期
	 */
	public static final String ACC_ST_DESC_A = "A";
	public static final String ACC_ST_DESC_C = "C";
	public static final String ACC_ST_DESC_P = "P";

	/*当前贷款逾期状态(网贷) 其中'0'代表无逾期,'1'代表有逾期*/
	public static final String NOT_OVERDUE="0";

	/*当前贷款逾期状态(网贷) 其中'0'代表无逾期,'1'代表有逾期*/
	public static final String OVERDUE="1";

	/**
	 * 优e贷借据信息查询 1已结清  2未结清
	 * */
	public static final String ACC_QUERY_1	 = "1";
	public static final String ACC_QUERY_2	 = "2";
}
